package com.seu.dm.mappers;

import com.seu.dm.entities.Favorite;

import java.util.List;

public interface FavoriteMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Favorite record);

    int insertSelective(Favorite record);

    Favorite selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Favorite record);

    int updateByPrimaryKey(Favorite record);

    List<Favorite> selectByBuyerId(Integer buyerId);

    List<Favorite> selectAll();
}